package com.song.corebean;

import java.io.Serializable;
import java.net.InetSocketAddress;

public class PackageHead implements Serializable{
	
	
	private Host fromaddress;
	
	
	private Host toaddress;
	
	public  MessageType messageType;
	
	
	public Host getFromaddress() {
		return fromaddress;
	}

	public void setFromaddress(Host fromaddress) {
		this.fromaddress = fromaddress;
	}

	public Host getToaddress() {
		return toaddress;
	}

	public void setToaddress(Host toaddress) {
		this.toaddress = toaddress;
	}

	@Override
	public String toString() {
		return "PackageHead [fromaddress=" + fromaddress + ", toaddress="
				+ toaddress + ", messageType=" + messageType + "]";
	}


	
	
}
